Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |to_utf8

std/text/convert/string::|to_utf8


Usage

|to_utf8(text)

Parameters

↳ text: string

Return

Vec<byte>


Convert string into UTF-8 encoded vector of bytes.